package com.stars.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName org_perdom
 */
@TableName(value ="org_perdom")
@Data
public class OrgPerdom implements Serializable {
    /**
     * 人士管理文档表
     */
    @TableId
    private Integer id;

    /**
     * 
     */
    private String createdate;

    /**
     * 
     */
    private String domcode;

    /**
     * 
     */
    private Integer deptid;

    /**
     * 
     */
    private Integer domstate;

    /**
     * 
     */
    private String deptname;

    /**
     * 
     */
    private String deptcode;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String sex;

    /**
     * 
     */
    private String email;

    /**
     * 
     */
    private String phone;

    /**
     * 
     */
    private String adder;

    /**
     * 
     */
    private String sfz;

    /**
     * 
     */
    private String hr;

    /**
     * 
     */
    private String face;

    /**
     * 
     */
    private String school;

    /**
     * 
     */
    private String major;

    /**
     * 
     */
    private String eb;

    /**
     * 
     */
    private String salary;

    /**
     * 
     */
    private String oaa;

    /**
     * 
     */
    private String banks;

    /**
     * 
     */
    private String levelper;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        OrgPerdom other = (OrgPerdom) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getCreatedate() == null ? other.getCreatedate() == null : this.getCreatedate().equals(other.getCreatedate()))
            && (this.getDomcode() == null ? other.getDomcode() == null : this.getDomcode().equals(other.getDomcode()))
            && (this.getDeptid() == null ? other.getDeptid() == null : this.getDeptid().equals(other.getDeptid()))
            && (this.getDomstate() == null ? other.getDomstate() == null : this.getDomstate().equals(other.getDomstate()))
            && (this.getDeptname() == null ? other.getDeptname() == null : this.getDeptname().equals(other.getDeptname()))
            && (this.getDeptcode() == null ? other.getDeptcode() == null : this.getDeptcode().equals(other.getDeptcode()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
            && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
            && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
            && (this.getAdder() == null ? other.getAdder() == null : this.getAdder().equals(other.getAdder()))
            && (this.getSfz() == null ? other.getSfz() == null : this.getSfz().equals(other.getSfz()))
            && (this.getHr() == null ? other.getHr() == null : this.getHr().equals(other.getHr()))
            && (this.getFace() == null ? other.getFace() == null : this.getFace().equals(other.getFace()))
            && (this.getSchool() == null ? other.getSchool() == null : this.getSchool().equals(other.getSchool()))
            && (this.getMajor() == null ? other.getMajor() == null : this.getMajor().equals(other.getMajor()))
            && (this.getEb() == null ? other.getEb() == null : this.getEb().equals(other.getEb()))
            && (this.getSalary() == null ? other.getSalary() == null : this.getSalary().equals(other.getSalary()))
            && (this.getOaa() == null ? other.getOaa() == null : this.getOaa().equals(other.getOaa()))
            && (this.getBanks() == null ? other.getBanks() == null : this.getBanks().equals(other.getBanks()))
            && (this.getLevelper() == null ? other.getLevelper() == null : this.getLevelper().equals(other.getLevelper()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getCreatedate() == null) ? 0 : getCreatedate().hashCode());
        result = prime * result + ((getDomcode() == null) ? 0 : getDomcode().hashCode());
        result = prime * result + ((getDeptid() == null) ? 0 : getDeptid().hashCode());
        result = prime * result + ((getDomstate() == null) ? 0 : getDomstate().hashCode());
        result = prime * result + ((getDeptname() == null) ? 0 : getDeptname().hashCode());
        result = prime * result + ((getDeptcode() == null) ? 0 : getDeptcode().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
        result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
        result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
        result = prime * result + ((getAdder() == null) ? 0 : getAdder().hashCode());
        result = prime * result + ((getSfz() == null) ? 0 : getSfz().hashCode());
        result = prime * result + ((getHr() == null) ? 0 : getHr().hashCode());
        result = prime * result + ((getFace() == null) ? 0 : getFace().hashCode());
        result = prime * result + ((getSchool() == null) ? 0 : getSchool().hashCode());
        result = prime * result + ((getMajor() == null) ? 0 : getMajor().hashCode());
        result = prime * result + ((getEb() == null) ? 0 : getEb().hashCode());
        result = prime * result + ((getSalary() == null) ? 0 : getSalary().hashCode());
        result = prime * result + ((getOaa() == null) ? 0 : getOaa().hashCode());
        result = prime * result + ((getBanks() == null) ? 0 : getBanks().hashCode());
        result = prime * result + ((getLevelper() == null) ? 0 : getLevelper().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", createdate=").append(createdate);
        sb.append(", domcode=").append(domcode);
        sb.append(", deptid=").append(deptid);
        sb.append(", domstate=").append(domstate);
        sb.append(", deptname=").append(deptname);
        sb.append(", deptcode=").append(deptcode);
        sb.append(", name=").append(name);
        sb.append(", sex=").append(sex);
        sb.append(", email=").append(email);
        sb.append(", phone=").append(phone);
        sb.append(", adder=").append(adder);
        sb.append(", sfz=").append(sfz);
        sb.append(", hr=").append(hr);
        sb.append(", face=").append(face);
        sb.append(", school=").append(school);
        sb.append(", major=").append(major);
        sb.append(", eb=").append(eb);
        sb.append(", salary=").append(salary);
        sb.append(", oaa=").append(oaa);
        sb.append(", banks=").append(banks);
        sb.append(", levelper=").append(levelper);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}